/* 单行省略 */
.ellipse{
    // width: 210px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* 多行省略 */
.ellipse2{
    // width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
/* 清楚浮动 */
.clearfix::after{
    display: block;
    content: '';
    clear: both;
    height: 0;
}

// 头部
header{
    height: 110px;
}
header .nav-prev {
    width: 100%;
    height: 90px;
}

header .nav {
    height: 36px;
    background: rgb(0, 0, 0);
}

header .nav .container {
    height: 36px;
}

header .nav .container .nav-ul>li {
    float: left;
}

header .nav .container .nav-ul>li>a {
    color: #ccc;
    padding: 0 10px;
    border-left: 1px solid #666;
    font-size: 12px;
}

header .nav .container .nav-ul>li>a:hover {
    color: #fff;
}

/* 左ul */
header .nav .container .nav-left {
    float: left;
    line-height: 36px;
}

header .nav .container .nav-left>li:first-child>a {
    border: none;
}

header .nav .container .nav-left .caidan {
    width: 80px;
}

/* caidan标签 */
header .nav .container .nav-ul .caidan:hover {
    background: #fff;
}

header .nav .container .nav-ul .caidan {
    position: relative;
}

header .nav .container .nav-ul .caidan:hover .xiala {
    color: #cb242b;
}

/* 右ul */
header .nav .container .nav-right {
    float: right;
    line-height: 36px;
}

header .nav .container .nav-right>li:first-child{
    width: 130px;
}
header .nav .container .nav-right>li:first-child a {
    color: #ccc;
    padding-right: 10px;
    font-size: 12px;
}

header .nav .container .nav-right>li:nth-child(2) a {
    border: none;
}

header .nav .container .nav-right li:nth-child(4) {
    width: 55px;
}

header .nav .container .nav-right li:nth-child(5) {
    width: 65px;
}

header .nav .container .nav-right li:nth-child(6) {
    width: 70px;
}

/* 下拉 */
header .nav .container .catalog {
    padding: 0 25px;
    background: #fff;
    position: absolute;
    right: 0;
    top: 36px;
    z-index: 444;
    display: none;
}

header .nav .container .catalog>li a {
    font-size: 14px;
    line-height: 32px;
    color: #666;
}

header .nav .container .catalog>li a:hover {
    color: #cb242b;
}

header .nav .container .nav-left .caidan>ul {
    width: 100px;
}

header .nav .container .nav-right li:nth-child(4) ul {
    width: 70px;
}

/* 网站导航 */
header .nav .container .nav-right li:nth-child(5) ul {
    width: 893px;
    height: 190px;
    padding-top: 20px;
}

header .nav .container .nav-right>li:nth-child(5) {
    width: 80px;
    position: relative;
}

header .nav .container .nav-right>li:nth-child(5) ul li {
    float: left;
}

header .nav .container .nav-right>li:nth-child(5) ul li:nth-child(1) {
    width: 50px;
    font-size: 12px;
    margin: 0 30px;
}

header .nav .container .nav-right>li:nth-child(5) ul li:nth-child(1) span {
    display: block;
    width: 50px;
    height: 45px;
    background: #f5f5f5;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    padding-top: 5px;
}

header .nav .container .nav-right>li:nth-child(5) ul li:nth-child(2) {
    width: 160px;
    margin: 0 30px;
}

header .nav .container .nav-right>li:nth-child(5) ul li:nth-child(2) a {
    font-size: 12px;
    margin-right: 25px;
}

header .nav .container .nav-right>li:nth-child(5) ul li:nth-child(3) {
    width: 160px;
    margin-right: 30px;
}

header .nav .container .nav-right>li:nth-child(5) ul li:nth-child(3) div span {
    display: inline-block;
    width: 70px;
}

header .nav .container .nav-right>li:nth-child(5) ul li:nth-child(3) div span a {
    display: block;
    font-size: 12px;
}

header .nav .container .nav-right>li:nth-child(5) ul li:nth-child(4) {
    width: 185px;
    margin-right: 30px;
}

header .nav .container .nav-right>li:nth-child(5) ul li:nth-child(4) div span {
    display: inline-block;
    width: 90px;
}

header .nav .container .nav-right>li:nth-child(5) ul li:nth-child(4) div span a {
    display: block;
    font-size: 12px;
}

/* 手机版 */
header .nav .container .nav-right li:nth-child(6) ul {
    width: 245px;
}

header .nav .container .nav-right li:nth-child(6) ul li {
    width: 100%;
    height: 90px;
    padding: 20px 0;
}

/* 隐藏上拉图标 */
.icon-xiala {
    position: absolute;
    right: 0;
    top: 2px;
}

.icon-shangla {
    display: none;
    position: absolute;
    right: 0;
    top: 2px;
}

/* 吸顶 */
header .navBottom {
    height: 74px;
    width: 100%;
    background: #fff;
    z-index: 400;
}

header .navBottom .container {
    height: 74px;
    display: flex;
}

header .navBottom .container .logo {
    width: 103px;
    height: 74px;
}

header .navBottom .container img {
    width: 100%;
    height: 100%;
}

header .navBottom .container ul {
    width: 900px;
    line-height: 74px;
    margin-left: 40px;
}

header .navBottom .container ul li {
    float: left;
    margin-left: 40px;
}

header .navBottom .container ul li a {
    font-size: 16px;
    color: #333;
}

header .navBottom .container ul li a:hover {
    color: rgb(207, 10, 44);
}

header .navBottom .container .search {
    width: 170px;
    height: 32px;
    margin-top: 20px;
    border-bottom: 1px solid rgb(209, 207, 207);
}

header .navBottom .container .search span {
    font-size: 18px;
    float: left;
    margin-top: 5px;
}

header .navBottom .container .search input {
    width: 140px;
    height: 17px;
    float: left;
    margin-top: 7px;
    border: none;
}

header .navBottom .container .search input::placeholder {
    color: rgb(209, 207, 207);
    font-size: 16px;
}

header .navBottom .container .cart {
    width: 50px;
    height: 27px;
    margin-top: 20px;
    position: relative;
    text-align: center;
    padding-top: 5px;
}

header .navBottom .container .cart span {
    font-size: 24px;
}

header .navBottom .container .cart em {
    position: absolute;
    top: 0;
    right: 0;
    border-radius: 5px;
    font-size: 10px;
    display: block;
    width: 18px;
    height: 14px;
    color: white;
    background-color: rgb(204, 67, 49);
}

/* 七天免登陆 */
section {
    color: #ccc;
    width: 105px;
    position: relative;
    /* position: absolute;
    top: 18px;
    left: 645px; */
}

section b,
section span {
    display: none;
    cursor: pointer;
    font-size: 10px;
    &:nth-child(2){
        position: absolute;
        top: 0;
        right: 0;
    }
}

// 底部
footer{
    .top{
        margin: 0 auto;
        line-height: 120px;
        display: flex;
        justify-content: space-around;
        border-bottom: 1px solid #ccc;
        span{
            font-size: 18px;
        }
    }
    .middle{
        display: flex;
        font-size: 14px;
        padding: 55px 0;
        div{
           ul{
            width: 159px;
            color: #777;
            font-size: 12px;
            margin-top: 30px;
            li{
                margin-bottom: 10px;
                cursor: pointer;
                &:hover{
                    color: rgb(207, 10, 44);
                }
            }
           }
        }
        div:last-child{
            text-align: center;
            border-left: 1px solid #ccc;
            height: 160px;
            padding-left: 30px;
            p:nth-child(1){
                font-size: 24px;
                font-weight: bold;
                line-height: 32px;
            }
            p:nth-child(2){
                font-size: 13px;
                line-height: 19px;
                margin-bottom: 25px;
            }
            a{
                background: #000;
                color: #fff;
                padding: 10px 50px;
                border-radius: 30px;
                font-size: 12px;
                span{
                    font-size: 16px;
                    margin-right: 10px;
                }
            }
            p:nth-child(4){
                margin-top: 25px;
                font-size: 13px;
                span{
                    font-size: 20px;
                    margin-right: 10px;
                }
            }
        }
    }
}